package ModelLayer;

import java.io.Serializable;

/**
 * 
 * @author frankeskelund
 *This is the super class for the classes Customer and Employee
 */

public class Person implements Serializable
{
	private static final long serialVersionUID = -5925792653001053467L;
	
	private String name;
	private String address;
	private String phoneNumber;
	private String email;
	private String signUpDate;
	
	
	public Person()
	{}
	
	public Person(String name, String address, String phoneNumber, String email, String signUpDate) 
	{
		
		this.name = name;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.email = email;
		this.signUpDate = signUpDate;
	}
	
	/**
	 * Gets the name for this person
	 * @return String there contains the name of this person
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the Name on the person
	 * @param signUpDate
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * Gets the address for this person
	 * @return String there contains the address of this person
	 */
	public String getAddress() {
		return address;
	}
	
	/**
	 * Sets the Address on the person
	 * @param signUpDate
	 */
	public void setAddress(String address) {
		this.address = address;
	}	
	

	/**
	 * Gets the phone number for this person
	 * @return String there contains the phone number of this person
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}
	
	/**
	 * Sets the PhoneNumber on the person
	 * @param signUpDate
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	/**
	 * Gets the email for this person
	 * @return String there contains the email of this person
	 */
	public String getEmail() {
		return email;
	}
	
	/**
	 * Sets the Email on the person
	 * @param signUpDate
	 */	
	public void setEmail(String email) {
		this.email = email;
	}
	
	/**
	 * Gets the signup date for this person
	 * @return String there contains the sign up date of this person
	 */
	public String getSignUpDate() {
		return signUpDate;
	}
	
	/**
	 * Sets the SignUpDate on the person
	 * @param signUpDate
	 */
	public void setSignUpDate(String signUpDate) {
		this.signUpDate = signUpDate;
	}
	
}
